Optimal. Leaf size=90 \[ \frac{3 (2 A-C) \sin (c+d x) (b \cos (c+d x))^{5/3} \, _2F_1\left (\frac{1}{2},\frac{5}{6};\frac{11}{6};\cos ^2(c+d x)\right )}{5 b^2 d \sqrt{\sin ^2(c+d x)}}+\frac{3 A \sin (c+d x)}{d \sqrt [3]{b \cos (c+d x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0770518, antiderivative size = 90, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 31, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.097, Rules used = {16, 3012, 2643} \[ \frac{3 (2 A-C) \sin (c+d x) (b \cos (c+d x))^{5/3} \, _2F_1\left (\frac{1}{2},\frac{5}{6};\frac{11}{6};\cos ^2(c+d x)\right )}{5 b^2 d \sqrt{\sin ^2(c+d x)}}+\frac{3 A \sin (c+d x)}{d \sqrt [3]{b \cos (c+d x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 16
Rule 3012
Rule 2643
Rubi steps
\begin{align*} \int \frac{\left (A+C \cos ^2(c+d x)\right ) \sec (c+d x)}{\sqrt [3]{b \cos (c+d x)}} \, dx &=b \int \frac{A+C \cos ^2(c+d x)}{(b \cos (c+d x))^{4/3}} \, dx\\ &=\frac{3 A \sin (c+d x)}{d \sqrt [3]{b \cos (c+d x)}}-\frac{(2 A-C) \int (b \cos (c+d x))^{2/3} \, dx}{b}\\ &=\frac{3 A \sin (c+d x)}{d \sqrt [3]{b \cos (c+d x)}}+\frac{3 (2 A-C) (b \cos (c+d x))^{5/3} \, _2F_1\left (\frac{1}{2},\frac{5}{6};\frac{11}{6};\cos ^2(c+d x)\right ) \sin (c+d x)}{5 b^2 d \sqrt{\sin ^2(c+d x)}}\\ \end{align*}
Mathematica [C] time = 3.57046, size = 283, normalized size = 3.14 \[ -\frac{3 \csc (c) e^{-i d x} \sqrt [3]{\cos (c+d x)} (\cos (d x)+i \sin (d x)) \left (2 (2 A-C) (\cos (d x)-i \sin (d x)) \sqrt [3]{i \sin (2 (c+d x))+\cos (2 (c+d x))+1} \, _2F_1\left (-\frac{1}{3},\frac{1}{3};\frac{2}{3};-e^{2 i d x} (\cos (c)+i \sin (c))^2\right )+(2 A-C) (\cos (d x)+i \sin (d x)) \sqrt [3]{i \sin (2 (c+d x))+\cos (2 (c+d x))+1} \, _2F_1\left (\frac{1}{3},\frac{2}{3};\frac{5}{3};-e^{2 i d x} (\cos (c)+i \sin (c))^2\right )-8 A \cos (d x)+2 C \cos (2 c+d x)+2 C \cos (d x)\right )}{4\ 2^{2/3} d \sqrt [3]{b \cos (c+d x)} \sqrt [3]{e^{-i d x} \left (i \sin (c) \left (-1+e^{2 i d x}\right )+\cos (c) \left (1+e^{2 i d x}\right )\right )}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.302, size = 0, normalized size = 0. \begin{align*} \int{ \left ( A+C \left ( \cos \left ( dx+c \right ) \right ) ^{2} \right ) \sec \left ( dx+c \right ){\frac{1}{\sqrt [3]{b\cos \left ( dx+c \right ) }}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (C \cos \left (d x + c\right )^{2} + A\right )} \sec \left (d x + c\right )}{\left (b \cos \left (d x + c\right )\right )^{\frac{1}{3}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{{\left (C \cos \left (d x + c\right )^{2} + A\right )} \left (b \cos \left (d x + c\right )\right )^{\frac{2}{3}} \sec \left (d x + c\right )}{b \cos \left (d x + c\right )}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (C \cos \left (d x + c\right )^{2} + A\right )} \sec \left (d x + c\right )}{\left (b \cos \left (d x + c\right )\right )^{\frac{1}{3}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]